package fybug.nulll.pdstream.WR.Stream.Interface;
import fybug.nulll.pdfunctionlibrary.Annotations.MaybeStop;
import fybug.nulll.pdfunctionlibrary.Processing.Err.CallStop;
import fybug.nulll.pdfunctionlibrary.Processing.Err.Stop;
import fybug.nulll.pdstream.Interface.UpdateSize;
import fybug.nulll.pdstream.WR.Stream.Read;
/**
 * <h2>字符流读取器读取过程监控接口.</h2>
 * <pre>
 * 使用该接口在 <b>读取文本</b> 的过程中 <b>处理文本</b>
 * 并 <b>更新片段大小</b>
 * 处理的文本是你当前申请的片段大小的文本
 * </pre>
 *
 * @author fybug
 * @version 0.0.3
 * @see StringCheck
 * @see UpdateSize
 * @see Read
 * @see MaybeStop
 * @see Stop
 * @see CallStop
 * @since JDK 1.1
 */
public
interface ReadCheck extends UpdateSize, StringCheck {
    @Override
    @MaybeStop
    default
    int updataSize(final int i) {return i;}

    @MaybeStop
    @Override
    default
    void init() {}

    @Override
    default
    void destroy() {}
}
